<template>
    <div class="component-notice">
        <!-- <p class="title">公告</p> -->
        <div class="notice-content">
            <div class="content-header">
                <span class="col3">发布人</span>
                <span class="col7">标题</span>
            </div>
            <div class="content">
                <div class="content-item">
                    <span class="col3">发布人</span>
                    <span class="col7 rows-2">试述洋地黄中毒的表现及处理。</span>
                </div>
                <div class="content-item">
                    <span class="col3">发布人</span>
                    <span
                        class="col7 rows-2"
                    >患者,女性21岁,长期自觉口渴,多饮,多尿,每日尿量6,000-7,000ml,,每日尿量6,000-7,000ml,曾在外院查...</span>
                </div>
                <div class="content-item">
                    <span class="col3">发布人</span>
                    <span class="col7 rows-2">试述洋地黄中毒的表现及处理。</span>
                </div>
            </div>
            <div class="content-footer">查看更多 ></div>
        </div>
    </div>
</template>
<script>
// import { throttle } from "filters/throttle.js";

export default {
    name: "notice",
    props: {
        file: {
            type: String,
            default: null,
        },
    },

    data() {
        return {};
    },
    methods: {},
};
</script>
<style scoped lang="scss">
.component-notice {
    background-color: #21202e;
    padding: 20px;
    .title {
        color: #fff;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .notice-content {
        border: 1px solid #2d2c3c;
    }
    .content-header {
        display: flex;
    }
    .content-header {
        font-size: 15px;
        padding: 15px 0;
        border-bottom: 1px solid #2d2c3c;
    }
    .content-footer {
        padding: 15px 10px;
        text-align: right;
        font-size: 12px;
    }
    .content-item {
        font-size: 12px;
        color: #56baca;
        height: 44px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #2d2c3c;
        &:last-child {
            color: #5d858d;
        }
    }
    .col3 {
        width: 30%;
        text-align: center;
    }
    .col7 {
        width: 70%;
    }
}
</style>
